package com.itheima.attendance.service;

import com.itheima.attendance.pojo.AttendanceConfig;
import com.itheima.attendance.pojo.LeaveConfig;
import com.itheima.common.entity.ResultCode;

import java.util.List;

/**
 * @author qiankaofei
 * @version 1.0
 * @date 2020/12/10 21:41
 */
public interface ConfigService {
    /**
     * 根据企业id和部门id查询考勤设置
     */
    AttendanceConfig findAttenByDeptementIdAndCompanyId(String depetmentId, String companyId);

    /**
     * 设置考勤
     */
    Integer setAttenByCompanyIdAndDeptementId(AttendanceConfig attendanceConfig);


}
